<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<script src="${ctx }/resources/js/plugin/excanvas.min.js"></script> 
<script src="${ctx }/resources/js/plugin/jquery.min.js"></script> 
<script src="${ctx }/resources/js/plugin/jquery.ui.custom.js"></script> 
<script src="${ctx }/resources/js/plugin/bootstrap.min.js"></script> 
<script src="${ctx }/resources/js/plugin/jquery.nicescroll.min.js"></script> 
<script src="${ctx }/resources/js/plugin/matrix.js"></script> 
<script type="text/javascript">
//初始化相关元素高度
function init(){
    $("body").height($(window).height()-80);
    $("#iframe-main").height($(window).height()-90);
    $("#sidebar").height($(window).height()-50);
}

$(function(){
    init();
    $(window).resize(function(){
        init();
    });
});
// This function is called from the pop-up menus to transfer to
// a different page. Ignore if the value returned is a null string:
function goPage (newURL) {
    // if url is empty, skip the menu dividers and reset the menu selection to default
    if (newURL != "") {
        // if url is "-", it is this page -- reset the menu:
        if (newURL == "-" ) {
            resetMenu();            
        } 
        // else, send page to designated URL            
        else {  
            document.location.href = newURL;
        }
    }
}

// resets the menu selection upon entry to this page:
function resetMenu() {
    document.gomenu.selector.selectedIndex = 2;
}

// uniform使用示例：
// $.uniform.update($(this).attr("checked", true));
</script>
<ul class="typeahead dropdown-menu"></ul>